<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>

		<div id="app">
			<span>{{comment|newcomm}}</span>
		</div>
		<script src="../vue.js"></script>
		<script type="text/javascript">
			var vm = new Vue({
				el: "#app",
				data: {
					comment: 'hello'
				},
				methods: {
					
				},
				filters: {
					newcomm(val) {
						return val.charAt(0).toUpperCase() + val.slice(1)
					}
				}
			})
		</script>
	</body>
</html>

